<style>
#listingDelatnostiTable{
	width:100%;
	border-left:1px solid #aaa;
}
#listingDelatnostiTable tr.ugovor{
	background-color:#f4cb7d;
}
#listingDelatnostiTable tr.ugovor td:first-child{
	background-image:url(gui/icons/ugovor.png);
	background-repeat:no-repeat;
	background-position:2px 95%;
}
#listingDelatnostiTable tr:hover,
#listingDelatnostiTable tr.head:hover,
#listingDelatnostiTable tr:hover a,
#listingDelatnostiTable tr.head{
	background:#2577BA;
	color:#fff;
}
#listingDelatnostiTable tr td{
	vertical-align:top;
	padding:5px;
	border-right:1px solid #aaa;
	border-bottom:1px solid #aaa;
}
#listingDelatnostiTable tr td div.adresa_mesto{
	float:left;
	clear:both;
	margin:0px;
	padding:0px;
}
#listingDelatnostiTable tr td div.adresa_tel{
	float:right;
}
#listingDelatnostiTable tr td hr{
	clear:both;
	float:left;
	width:100%;
	margin:5px 0px;
	height:1px;
	border:none;
	background:#aaa;
}
#listingInfo{
	color:#888;
	font-size:11px;
	margin:0px 5px;
	float:left;
}
table tr.bez{
	visibility:hidden;
}
</style>
<div class="area" style="margin:2px 0px; width:700px; max-height:600px; overflow:auto;">
<span class="info">Ukupno:&nbsp;{{$ukupno}}</span><br clear="all" />
{{$comment_start}}
<br clear="all" />
<ul class="letter_filter" filter_query="{{$filter_query}}">
	<li>Strana:</li>
	{{%loop start page}}
	<li><a {{$current_page}} href="javascript:void(0)" onclick="var q=this.parentNode.parentNode.getAttribute('filter_query'); LoadRSDoc('komitenti.php?a=search&submitted=6&page={{$page}}&'+q,'afterAdvSearch')">{{$page}}</a></li>
	{{%loop end}}
</ul><br clear="all" />
  <table id="listingDelatnostiTable" style="margin-top:5px;">
      <tr class="head">
        <td width="5%">šifra</td>
        <td width="30%">naziv</td>
		<td width="15%">mesto</td>
		<td>adresa</td>
		<td>kampanja</td>
      </tr>
    {{%loop start komitent_id}}
    <tr class="{{$bez}}">
      <td align="right" width="5%">{{$komitent_id}}</td>
      <td><a href="javascript:void(0)" onclick="blankTarget('LoadRSDoc(\'komitenti.php?a=displayOne&id={{$komitent_id}}\',\'setContent\')')">{{$komitent_name}}</a><span style="font-size:11px;">{{$komitent_adrese}}</span></td>
      <td>{{$mesto}}</td>
	  <td>{{$adresa}}</td>
	  <td>{{$kampanja}}</td>
    </tr>
    {{%loop end}}
  </table>
  {{$comment_end}} </div>
<div id="listingInfo">{{$info}}</div>